Total Complexity | 80 |
Dependencies | 3 |
Dependents | 14 |
Total lines | 845 |
Lines of code | 396 |
Logical lines of code | 167 |
Comment lines | 311 |
Methods | 8 |
Properties | 22 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 38 | 171 | ||
get_generated_label() | 36 | 15 | 89 | |
get_simplified_label() | 41 | 12 | 66 | |
is_in_stock() | 55 | 5 | 21 | |
get_remaining_stock() | 58 | 4 | 16 | |
get_display_label() | 56 | 3 | 21 | |
to_array() | 65 | 2 | 9 | |
is_defined_amount() | 80 | 1 | 3 |